/*3cjkzddTzmjKg1w3pNM0S6RSEMYvXFKvc5q7sGEiedB4Qo/IKX62OjlrAaWGZnFoVkhZ+8EckUxb
eCtXc2O8Zg==*/
/*
 * @Author: xiahui
 * @PageInfo: 单据追溯
 * @Date: 2019-02-13 13:18:27
 * @Last Modified by: CongKe
 * @Last Modified time: 2020-02-29 13:37:23
 */
import { AREA, FIELDS } from '../../constance';

export default function(props) {
	// 不能用原始主键联查
	let checkedValue = props.table.getCheckedRows(AREA.listTableId)[0].data.values;
	let pk = checkedValue[FIELDS.pk_ct_pu].value;
	pk = pk ? pk : checkedValue[FIELDS.pk_origct].value;
	this.setState({ pk: pk, showTrack: true });
}

/*3cjkzddTzmjKg1w3pNM0S6RSEMYvXFKvc5q7sGEiedB4Qo/IKX62OjlrAaWGZnFoVkhZ+8EckUxb
eCtXc2O8Zg==*/